#include "SetShooterAngle.h"

SetShooterAngle::SetShooterAngle(float angle) {
	// Use requires() here to declare subsystem dependencies
	// eg. requires(chassis);
	ang = angle;
}

// Called just before this Command runs the first time
void SetShooterAngle::Initialize() {
	
}

// Called repeatedly when this Command is scheduled to run
void SetShooterAngle::Execute() {
	CommandBase::shooterAngle->SetSetpoint(ang);
}

// Make this return true when this Command no longer needs to run execute()
bool SetShooterAngle::IsFinished() {
	return true;
}

// Called once after isFinished returns true
void SetShooterAngle::End() {
	
}

// Called when another command which requires one or more of the same
// subsystems is scheduled to run
void SetShooterAngle::Interrupted() {
}
